import App from './App'
import store from './store'
import i18n from './tool/i18n'
import tool from './tool'
import element from "./tool/element"
import vueMenus from "./tool/vue-menus/index.js"
// import VForm3 from 'vform3-builds' //引入VForm3库
// import 'vform3-builds/dist/designer.style.css' //引入VForm3样式

import { createSSRApp } from 'vue';

export function createApp() {
	const app = createSSRApp(App)
	app.use(i18n)
	app.use(tool)
	app.use(store)
	app.use(element)
	app.use(vueMenus)
	return {
		app
	}
}
